package com.java.generics;

public class SimpleCollection<T> {
	private T[] objArr;
	private int index = 0;

	public SimpleCollection(){
		objArr = (T[]) new Object[10];
	}

	public void add(T t){
		objArr[index++] = t;
	}
}
